<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    
<!-- include moo talk header file -->
<%@ include file="MooTalkHeader.jsp" %>
		<div id="site_content_text">
			<% if( user == null)  { %>
			<h2>Register for MooTalk</h2>
			<form name="regForm" id="regForm" action="Register.do" method="post">
			<input type="hidden" name="regType" value="user "/>
				<table>
					<tr>
						<td>First Name: <br/> <input class="txtbox" type="text" name="firstTxt" /></td>
					</tr>
					<tr>
						<td>Last Name:<br/> <input class="txtbox" type="text" name="lastTxt" /></td>
					</tr>
					<tr>
						<td>Address: <br/> <input class="txtbox" type="text" name="addTxt" /></td>
					</tr>
					<tr>
						<td>City: <br/> <input class="txtbox" type="text" name="cityTxt" /></td>
					</tr>
					<tr>
						<td>State: <br/> <input class="txtbox" type="text" name="stateTxt" /></td>
					</tr>
					<tr>
						<td>Zip-Code: <br/> <input class="txtbox" type="text" name="zipTxt" /></td>
					</tr>
						<td>Phone:<br/> <input class="txtbox" type="text" name="phoneTxt" /></td>
					</tr>
					<tr>
						<td>Email: <br/> <input class="txtbox" type="email" name="emailTxt" /></td>
					</tr>
					<tr>
						<td>SSN:<br/> <input class="txtbox" type="text" name="ssnTxt" /></td>
					</tr>
					<tr>
						<td>Password:<br/> <input class="txtbox" type="password" name="passTxt" /></td>
					</tr>
					<tr>
						<td><input class="btn" type="submit" value="Register!" onclick=""/></td>
					</tr>
				</table>
			</form>
			<% } else if(user.getType().equals("manager")) { %>
				<h2>Register an Employee for MooTalk</h2>
				<form name="regEmployForm" id="regEmployForm" action="Register.do" method="post">
				<input type="hidden" name="regType" value="employee"/>
				<table>
					<tr>
						<td>First Name: <br/> <input class="txtbox" type="text" name="firstTxt" /></td>
					</tr>
					<tr>
						<td>Last Name:<br/> <input class="txtbox" type="text" name="lastTxt" /></td>
					</tr>
					<tr>
						<td>Address: <br/> <input class="txtbox" type="text" name="addTxt" /></td>
					</tr>
					<tr>
						<td>City: <br/> <input class="txtbox" type="text" name="cityTxt" /></td>
					</tr>
					<tr>
						<td>State: <br/> <input class="txtbox" type="text" name="stateTxt" /></td>
					</tr>
					<tr>
						<td>Zip-Code: <br/> <input class="txtbox" type="text" name="zipTxt" /></td>
					</tr>
					<tr>
						<td>Phone:<br/> <input class="txtbox" type="text" name="phoneTxt" /></td>
					</tr>
					<tr>
						<td>Email: <br/> <input class="txtbox" type="email" name="emailTxt" /></td>
					</tr>
					<tr>
						<td>SSN:<br/> <input class="txtbox" type="text" name="ssnTxt" /></td>
					</tr>
					<tr>
						<td>Password:<br/> <input class="txtbox" type="password" name="passTxt" /></td>
					</tr>
					<tr>
						<td><input class="btn" type="submit" value="Register!" onclick=""/></td>
					</tr>
				</table>
			</form>
			<% } %>
		</div>
		
<!--  include moo talk footer file -->
<%@ include file="MooTalkFooter.jsp" %>
